IF NOT EXISTS(SELECT [Name] FROM syscolumns WHERE Name = 'IsDeleted' AND ID = OBJECT_ID('dbo.Product')) BEGIN
   ALTER TABLE Product ADD IsDeleted BIT CONSTRAINT [rdf_Product_IsDeleted] DEFAULT (0)
   EXEC ('UPDATE Product SET IsDeleted = 0')
END